package net.hn.hnms.biz.cockpit.mapper;

import net.hn.hnms.biz.cockpit.domain.vo.DistanceTrendVo;
import net.hn.hnms.biz.cockpit.domain.vo.DrivingDetailVo;
import net.hn.hnms.biz.cockpit.domain.vo.ProductDetailVo;
import net.hn.hnms.biz.cockpit.domain.vo.ProductTrendVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProductionManagementMapper {

    List<ProductTrendVo> getPlanProduct(@Param("beginDate") String beginDate, @Param("endDate") String endDate, @Param("mineCode") String mineCode);

    List<DistanceTrendVo> getPlanDriving(@Param("beginDate") String beginDate, @Param("endDate") String endDate, @Param("mineCode") String mineCode);

    List<ProductTrendVo> getActualProduct(@Param("beginDate") String beginDate, @Param("endDate") String endDate, @Param("mineCode") String mineCode);

    List<DistanceTrendVo> getActualDriving(@Param("beginDate") String beginDate, @Param("endDate") String endDate, @Param("mineCode") String mineCode);

    String getPlan(@Param("day") String day, @Param("mineCode") String mineCode);

    String getActual(@Param("day") String day, @Param("mineCode") String mineCode);

    List<ProductDetailVo> getWorkFaceActual(@Param("date") String date, @Param("mineCode") String mineCode, @Param("faceIds") List<String> faceIds);

    String getDrivingPlan(@Param("day")String date, @Param("mineCode")String mineCode);

    List<DrivingDetailVo> getDrivingActual(@Param("date") String date, @Param("mineCode") String mineCode, @Param("faceIds") List<String> faceIds);

}
